package com.raising.sc.service;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/hello")
public class HelloController {

    @ResponseStatus(HttpStatus.OK)
    @GetMapping
    public String findStudentByName(@RequestParam("name") String name) {
        // TODO：不做具体代码实现，只打印Log
        return "挽歌- My Name's " + name + " ? 2";
    }

}